package com.bawei.module_home.model.service

import com.bawei.library_net.RetrofitManager
import com.bawei.library_net.entity.ResponseEntity
import com.bawei.module_home.model.api.FocusApi
import com.bawei.module_home.model.entity.FocusEntity
import retrofit2.http.Query

/**
 * @Author : yaotianxue
 * @Time : On 2023/6/27 10:13
 * @Description : FocusService
 */
class FocusService {
    private val api:FocusApi
    init {
        api = RetrofitManager.instance.create(FocusApi::class.java)
    }
    suspend fun focus( focuseUserid:Int, focusedUserid:Int): ResponseEntity<FocusEntity>{
        return api.focus(focuseUserid,focusedUserid)
    }
}
